package com.ruoyi.driver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机基本信息对象 drivers
 * 
 * @author yyj
 * @date 2025-08-17
 */
public class Drivers extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 司机ID */
    private Long id;

    /** 服务城市 */
    @Excel(name = "服务城市")
    private String serviceCity;

    /** 司机主管 */
    @Excel(name = "司机主管")
    private String supervisor;

    /** 驾驶员性别 */
    @Excel(name = "驾驶员性别")
    private String gender;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String name;

    /** 身份证号码 */
    @Excel(name = "身份证号码")
    private String idNumber;

    /** 司机手机号码 */
    @Excel(name = "司机手机号码")
    private String phoneNumber;

    /** 合同（或协议）有效期起 */
    @Excel(name = "合同", readConverterExp = "或=协议")
    private Date contractStartDate;

    /** 合同（或协议）有效期止 */
    @Excel(name = "合同", readConverterExp = "或=协议")
    private Date contractEndDate;

    /** 当前状态1:启用2：未启用 */
    @Excel(name = "当前状态1:启用2：未启用")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setServiceCity(String serviceCity) 
    {
        this.serviceCity = serviceCity;
    }

    public String getServiceCity() 
    {
        return serviceCity;
    }

    public void setSupervisor(String supervisor) 
    {
        this.supervisor = supervisor;
    }

    public String getSupervisor() 
    {
        return supervisor;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setContractStartDate(Date contractStartDate) 
    {
        this.contractStartDate = contractStartDate;
    }

    public Date getContractStartDate() 
    {
        return contractStartDate;
    }

    public void setContractEndDate(Date contractEndDate) 
    {
        this.contractEndDate = contractEndDate;
    }

    public Date getContractEndDate() 
    {
        return contractEndDate;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceCity", getServiceCity())
            .append("supervisor", getSupervisor())
            .append("gender", getGender())
            .append("name", getName())
            .append("idNumber", getIdNumber())
            .append("phoneNumber", getPhoneNumber())
            .append("contractStartDate", getContractStartDate())
            .append("contractEndDate", getContractEndDate())
            .append("status", getStatus())
            .toString();
    }
}
